Skip to content

Fix language loading and add resilient lookups - #3

Merged
Jord-JD merged 1 commit into
masterfrom
agent/fix-language-lookups
Jul 18, 2026
Merged

Fix language loading and add resilient lookups#3
Jord-JD merged 1 commit into
masterfrom
agent/fix-language-lookups

Conversation

@Jord-JD

@Jord-JD Jord-JD commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • fix PSR-4 autoloading by matching the Language class filename
  • exclude the CSV header from results and validate/close the bundled data safely
  • declare public properties to avoid PHP 8.2 dynamic-property deprecations
  • add cached, mutation-safe, trimmed, case-insensitive lookups and underscore-free ISO aliases
  • correct the README property examples and document missing-result behavior
  • declare the code's real PHP 7.0 minimum without raising it

Verification

  • jq empty composer.json
  • git diff --check
  • GitHub Actions exercises PHP 7.0/Composer 2.2 and PHP 8.5/latest Composer

@Jord-JD
Jord-JD merged commit 071db85 into master Jul 18, 2026
4 checks passed
@Jord-JD
Jord-JD deleted the agent/fix-language-lookups branch July 18, 2026 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant